#ifndef CHATWINDOW_H
#define CHATWINDOW_H

#include <QTextEdit>
#include <QLineEdit>
#include <QPushButton>
#include <QDialog>

class ChatWindow: public QDialog
{
  Q_OBJECT

public:
  ChatWindow(const QString&, const QString&, QWidget* parent=0);
  void addPhrase( const QString& );

private:
  QString login;
  QTextEdit* chatOutput;
  QLineEdit* phraseEdit;
  QPushButton* tellButton;

private slots:
  void tellPhrase();

signals:
  void sendCommand( const QString& );
};

#endif
